from django.urls import path

from course.views import HomeCat, CateChild, CourseList, Categorys, Direction, Detail, IndexView, HotWord
from login.views import LoginByPsw, Login, Send, Register

urlpatterns = [
    path("homecate/",HomeCat.as_view()),
    path("catechild/",CateChild.as_view()),
    path("direction/",Direction.as_view()),
    path("category/",Categorys.as_view()),
    path('list/',CourseList.as_view()),
    path('detail/',Detail.as_view()),
    path("search/",IndexView.as_view({"get":"list"})),
    path('hot/',HotWord.as_view())
]